;Info [ Npc Name{Lottery} X=284 Y=343 MapName={MongchonProvince} ]
%100
+3


[@main]
Welcome. What are you doing in this ferocious land?\
You looks bored...Would you try your luck?\
but if you lost, don't blame me!\
If the amount of money will be over the limit,\
the money over the limit will be dropped down so be careful!!\ \
<Buy/@buy> Lottery ticket\
  <Check/@Bingo> the winning money\
  <Talk with/@talkwith>    ,  <Cancel/@exit>
<>

[@buy]
#SAY
Please pick up what you want to buy.\ \ \
<Back/@main>

[@Bingo]
#SAY
1st prize    1,000,000 gold\
2nd prize      200,000 gold\ 
3rd prize      100,000 gold\
4th prize       10,000 gold\ 
5th prize       1,000  gold\ 
6th prize         500  gold\ \
<Back/@main>

[@talkwith]
#SAY
Hmm, I know a secret way to \
Mino Temple and Skull Caves\
Would you like to use it? \ \
<Move to Mino Temple/@move1> \
<Move to Skull Caves North/@move2> \
<Move to Skull Caves South/@move3> \
<Back/@main>


[@move1]
#SAY
You need money to move to Mino Temple \
I can't move you there just for free! \
it is cost 3000 gold to move to Mino Temple \ 
Would you pay for it? \ \
<Move/@pay1> \
<Cancel/@talkwith>  


[@pay1]
#IF
checkgold 3000
#ACT
take gold 3000
map d2070
#ELSESAY
Without money you will go nowhere! \
I don't want to see you again.. \
Until you have the money!\ \
<Back/@main>

[@move2]
#SAY
You need money to move to Skull Caves North \
I can't move you there just for free! \
It will cost 2000 gold to reach Skull Caves North \
Would you pay for it? \ \
<Move/@pay2> \
<Cancel/@talkwith>


[@pay2]
#IF
checkgold 2000
#ACT
take gold 2000
map D2061
#ELSESAY
Without money you will go nowhere! \
I don't want to see you again.. \
Until you have the money!\ \
<Back/@main>

 

[@move3]
#SAY
You need money to move to Skull Caves South \
I can't move you there just for free! \
It will cost 2000 gold to reach Skull Caves South \
Would you pay for it? \ \
<Move/@pay3> \
<Cancel/@talkwith>

[@pay3]
#IF
checkgold 2000
#ACT
take gold 2000
map D2051
#ELSESAY
Without money you will go nowhere! \
I don't want to see you again.. \
Until you have the money!\ \
<Back/@main>

[Goods]
LotteryTicket     10000           1
